package com.heima.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("tb_area")
public class Area implements Serializable {//区域表
    @TableId(value = "id",type = IdType.AUTO)
    public  Integer  id;//Id
    public  Integer  parentId;//父Id
    public  String  areaName;//区域名称
    public  String  adCode;//地区编码
    public  String  cityCode;//城市区号
    public  String  areaLevel;//地区级别
}
